package com.xue566.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * @Author: Wuzh
 * @Description: 优惠券实体类
 * @Data:
 */
@Data
@NoArgsConstructor //无参构造
@Accessors(chain = true) //链式
@TableName(value = "comment_info")
public class CommentInfo extends BaseEntity {

    @TableId(value = "commentId", type = IdType.INPUT)
    private String commentId;
    @TableField(value = "stuId")
    private String stuId;
    @TableField(value = "classId")
    private String classId;
    @TableField(value = "disciplineStar")
    private String disciplineStar;
    @TableField(value = "interactionStar")
    private String interactionStar;
    @TableField(value = "commentContent")
    private String commentContent;
    @TableField(value = "createTime")
    private String createTime;
    @TableField(value = "image")
    private String image;
    @TableField(value = "userId")
    private String userId;
    @TableField(value = "isUsed")
    private int isUsed;


    public String getCommentId () {
        return commentId;
    }

    public void setCommentId (String commentId) {
        this.commentId = commentId;
    }


    public String getStuId () {
        return stuId;
    }

    public void setStuId (String stuId) {
        this.stuId = stuId;
    }


    public String getClassId () {
        return classId;
    }

    public void setClassId (String classId) {
        this.classId = classId;
    }


    public String getDisciplineStar () {
        return disciplineStar;
    }

    public void setDisciplineStar (String disciplineStar) {
        this.disciplineStar = disciplineStar;
    }


    public String getInteractionStar () {
        return interactionStar;
    }

    public void setInteractionStar (String interactionStar) {
        this.interactionStar = interactionStar;
    }


    public String getCommentContent () {
        return commentContent;
    }

    public void setCommentContent (String commentContent) {
        this.commentContent = commentContent;
    }


    public String getCreateTime () {
        return createTime;
    }

    public void setCreateTime (String createTime) {
        this.createTime = createTime;
    }


    public String getImage () {
        return image;
    }

    public void setImage (String image) {
        this.image = image;
    }


    public String getUserId () {
        return userId;
    }

    public void setUserId (String userId) {
        this.userId = userId;
    }

    public int getIsUsed () {
        return isUsed;
    }

    public void setIsUsed (int isUsed) {
        this.isUsed = isUsed;
    }
}
